package com.simtop.pojo.experiment;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.ibatis.type.Alias;

import java.util.Date;

/**
 * @author lvyongwei
 */
@Data
@Alias("experiment")
@NoArgsConstructor
@AllArgsConstructor
public class Experiment extends BaseRowModel {

    /**
     * id
     */
    @ExcelIgnore
    private Long id;

    /**
     * 用户id
     */
    @ExcelIgnore
    private Integer userId;

    /**
     * 知识考核分数
     */
    @ExcelIgnore
    private Integer knowledgeScore;

    /**
     * 面料选择分数
     */
    @ExcelIgnore
    private Integer fabricChoice;

    /**
     * 图案设计分数
     */
    @ExcelIgnore
    private Integer patternDesign;

    /**
     * 成品展示分数
     */
    @ExcelIgnore
    private Integer finishedDisplay;

    /**
     * 实验用时
     */
    @ExcelProperty(value = "实验用时",index = 2)
    private String useTime;

    /**
     * 提交日期
     */
    @ExcelProperty(value = "提交日期",index = 3)
    @ColumnWidth(30)
    private Date createTime;

    /**
     * 实验评价
     */
    @ExcelProperty(value = "实验评价",index = 4)
    @ColumnWidth(30)
    private String evaluation;

    /**
     * 面料选择图片
     */
    @ExcelIgnore
    private String fabricPhoto;

    /**
     * 图案设计图片
     */
    @ExcelIgnore
    private String designPhoto;

    /**
     * 成品展示图片
     */
    @ExcelIgnore
    private String finishedPhoto;

    /**
     * 评价状态
     */
    @ExcelIgnore
    private Integer status;

    /**
     * 班级
     */
    @ExcelProperty(value = "班级",index = 5)
    private String classes;

    /**
     * 学号
     */
    @ExcelProperty(value = "学号",index = 6)
    private String stuNo;

    /**
     * 实验评价
     */
    @ExcelIgnore
    private String selfEvaluation;
}
